Software Development
Building Web Applications with JSP
Building Web Applications with JSP: An Introduction to JSP
Building Web Applications with JSP: Customizing Responses with Servlets
Building Web Applications with JSP: Handling Errors
Building Web Applications with JSP: Integrating a JSP App with a Database

Building Web Applications with JSP: An Introduction to JSP

Course Number:
it_jpbwapdj_01_enus
Lesson Objectives

Building Web Applications with JSP: An Introduction to JSP

  • discover the key concepts covered in this course
  • download and set up the Apache Maven build automation tool
  • use Apache Maven to build a stub web application
  • set up Apache Tomcat web server that can be used to serve a JSP application
  • create a WAR file for a web app and deploy it to a Tomcat web server
  • develop a basic JSP app containing both HTML and Java code
  • use a variety of JSP tags to define Java methods and invoke them in a JSP source file
  • view various properties of an incoming request object
  • unpack and view the contents of the WAR archive for a JSP application and describe its structure and properties
  • build a composite JSP page by referencing external JSPs
  • summarize the key concepts covered in this course

Overview/Description
JavaServer Pages (JSP) is a technology for developing web pages that support scripting and element-based dynamic content. This helps developers insert java code in HTML pages by making use of special JSP tags. Use this course to familiarize yourself with the different aspects of building a website using JSP. With the help of this course, explore how to set up Apache Maven and Apache Tomcat web server, build JSP applications, and apply scriptlets as well as specific tags for declarations and expressions. You'll also dive into other features of JSP applications, including the separation of Java code into different files and accessing the request object, and learn more about the contents of a WAR file. After finishing this course, you'll have a foundational understanding of building and deploying JSP applications.

Target

Prerequisites: none

Building Web Applications with JSP: Customizing Responses with Servlets

Course Number:
it_jpbwapdj_03_enus
Lesson Objectives

Building Web Applications with JSP: Customizing Responses with Servlets

  • discover the key concepts covered in this course
  • define a servlet class to process a simple GET request
  • recognize the power of the WebServlet annotation when it comes to mapping servlets to URL endpoints
  • use an HttpServletRequest object to access the parameters submitted by an end-user of a web application
  • forward a request to a different endpoint in an application using the RequestDispatcher
  • transfer processed data from a servlet to a JSP file for display in a web app
  • recognize the power and scope of the ServletConfig and ServletContext classes when working with servlets
  • set attributes at the request, session, and application-level using the corresponding setter methods
  • describe the process of retrieving attributes from various scopes in your app, and recognize the limitations of each scope
  • summarize the key concepts covered in this course

Overview/Description
Java servlets are server-side programs that manage clients' requests and return a customized response for each of them. Use this course to gain some hands-on experience in customizing responses in your web application with HttpServlets. Discover how to build simple web pages that accept user input in a form, develop a servlet that can process the inputs, and add complexity to your app by introducing multiple pages. This course will also help you examine the use of a RequestDispatcher and the ServletConfig and ServletContext classes and recognize how attributes are stored at different scopes in a JSP app. Having completed this course, you'll be able to use servlets to process requests and produce customized responses in a JSP application.

Target

Prerequisites: none

Building Web Applications with JSP: Handling Errors

Course Number:
it_jpbwapdj_02_enus
Lesson Objectives

Building Web Applications with JSP: Handling Errors

  • discover the key concepts covered in this course
  • set up a JSP page to direct an end-user to a specific error page in the event of an exception being thrown
  • add references to external resources in a JSP page by using the JSP expression language to get the application context path
  • use a web.xml file to define a common error page for the entire JSP application
  • adopt the Java try-catch block for exception handling and explore some of the recommended practices
  • summarize the key concepts covered in this course

Overview/Description
It is important to provide your end-users the best experience when browsing on your JSP website. Investigate how to achieve this by seamlessly handling errors using this course. You'll discover default and manual error handling in a JSP app, the creation of a custom error page, and the referencing of resources such as images in a JSP page. This course will also help you explore the use of web.xml deployment descriptor files in setting configurations and techniques when it comes to handling exceptions in JSP. Upon completion of this course, you'll have the foundational knowledge to handle errors in a JSP app.

Target

Prerequisites: none

Building Web Applications with JSP: Integrating a JSP App with a Database

Course Number:
it_jpbwapdj_04_enus
Lesson Objectives

Building Web Applications with JSP: Integrating a JSP App with a Database

  • discover the key concepts covered in this course
  • set up MySQL server on your machine
  • create a database schema and table and load it with data
  • use JDBC to connect to and query a SQL database from a JSP app
  • deploy and test the connectivity from your JSP app to a database and ensure that queried data is displayed correctly
  • define a class representing an entity whose details are stored in the database and which an end-user of your app will work with
  • use JDBC objects to query for single or multiple rows in a database table
  • implement tags from the JSTL library to iterate over multiple rows of data
  • execute an insert query from a Java application to add a new row of data to a SQL table
  • automate the creation and population of a Java object with the useBean and setProperty tags in a JSP
  • enable end-users to update existing rows in a database table via your JSP app
  • allow end-users to delete rows from a database table through the UI of your JSP app
  • summarize the key concepts covered in this course

Overview/Description
Discover how to connect a JSP website to a database and allow end-users to perform database operations from the web UI using this course. Learn how to set up a MySQL database, use JDBC to connect to and run queries against this database, and utilize the JSTL library in order to iterate over the data that is returned and render them on your web page. You'll also explore write operations, JSP action tags like useBean and setProperty, and implementing update and delete operations on the database. After finishing this course, you'll have the skills and knowledge to allow users of a JSP website to interact with a database.

Target

Prerequisites: none

Close Chat Live